home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-22 | 1.2 KB | 50 lines | [TEXT/MSWD] |
- interval-to-tonality
- interval-list &optional name
-
- works like create-tonality but uses intervals
- (chromatically) if name is used
- otherwise like just like r-time in c-sound-menu
- of cadar
-
- (setq interval-list '(2 2 1 2 2 2 1))
- ->(2 2 1 2 2 2 1)
- (interval-to-tonality interval-list 'foo)
- -> create-tonality foo
-
- (activate-tonality (foo c 5))
- ((c 5 d 5 e 5 f 5 g 5 a 5 b 5))
-
- (interval-to-tonality interval-list)
- ->(0 2 4 5 7 9 11)
-
- (create-tonality goo
- (interval-to-tonality interval-list))
- -> create-tonality goo
-
- (activate-tonality (goo c 5))
- ->((c 5 d 5 e 5 f 5 g 5 a 5 b 5))
-
- (setq changed-interval-list
- (change-every-n interval-list '(1 3 4 6 7) '(1 2 3)))
- ->(3 2 3 5 2 3 3)
-
- (interval-to-tonality changed-interval-list 'bar)
- -> create-tonality bar
-
- (activate-tonality (bar c 5))
- ->((c 5 d# 5 f 5 g# 5 c# 6 d# 6 f# 6))
-
- (setq further-changed-interval-list
- (change-every-n changed-interval-list
- '(1 3 4 6 7) -1))
-
- (interval-to-tonality changed-interval-list 'baaz)
- -> create-tonality baaz
-
- (activate-tonality (baaz c 5))
- ->((c 5 d# 5 f 5 g# 5 c# 6 d# 6 f# 6))
-
-
- (syms-to-ton (interval-to-tonality '(2 1 1 2 1 1 2)))
- ->(c 4 d 4 d# 4 e 4 f# 4 g 4 g# 4)
-